<?php

class MockObject {

  var $m_fooAttr;
  var $m_bar;
  var $m_configCount = 0;


  function set_foo($value) {
    $this->m_fooAttr = $value;
  }

  function set_bar($value) {
    $this->m_bar = $value;
  }

  function get_foo() {
    return $this->m_fooAttr;
  }

  function get_bar() {
    return $this->m_bar;
  }
  
  function get_config_count() {
    return $this->m_configCount;
  }
  
}

class MockObjectPC extends MockObject {

  function post_configure() {
    $this->m_configCount++;
  }

}

?> 
